#pragma once
#include "Entity.h"
#include <vector>
#include <algorithm>
using namespace std;
class IModel
{
public:
	IModel(void);
	virtual ~IModel(void);
	virtual vector<Entity> loadData(CString strFilePath,long &frameRate) = 0;
	virtual void saveData(Entity entity) = 0;
	virtual void saveToExcel(long frameRate)=0;
	virtual void deleteData(Entity entity) = 0;
	virtual vector<Entity> getData() = 0;
	virtual Entity getSelectListItem(int mark)=0;
	virtual bool exportSubtitle(CString exportPath,long frameRate)=0;
	virtual void moveUp(Entity entity) = 0;
    virtual void moveDown(Entity entity) = 0;
};

